import http from '@/utils/http.js'

/**
 * 首页商品列表  
 * @param {Object} page
 * @param {Object} pageSize
 */
export function queryHome(pageNum,pageSize){
	return http.get("/goods-service/api/v1/querySpuList",{pageNum,pageSize});
}
/**
 * 根据商品id查询详情
 * @param {Object} spuId
 */
export function queryDetail(spuId){
	return http.get("/goods-service/api/v1/spu/queryById",{spuId});
}